package com.sdhs.paas.sdk.base.dto;

import com.sdhs.paas.sdk.core.PaasBaseObject;

public class PageInfoDTO extends PaasBaseObject {
	/**
	 * 默认值当前页
	 */
	public static int PAGEINDEX = 1;

	public static int PAGESIZE = 200;
	/**
	 * 当前页，分页查询时需传
	 */
	private Integer page = PAGEINDEX;
	/**
	 * 每页数量，分页查询时需传
	 */
	private Integer pageSize = PAGESIZE;
	/**
	 * 总页数
	 */
	private Integer pageCount;
	/**
	 * 总记录数
	 */
	private Integer rowCount;

	public static int getPAGEINDEX() {
		return PAGEINDEX;
	}

	public static void setPAGEINDEX(int pAGEINDEX) {
		PAGEINDEX = pAGEINDEX;
	}

	public static int getPAGESIZE() {
		return PAGESIZE;
	}

	public static void setPAGESIZE(int pAGESIZE) {
		PAGESIZE = pAGESIZE;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageCount() {
		return pageCount;
	}

	public void setPageCount(Integer pageCount) {
		this.pageCount = pageCount;
	}

	public Integer getRowCount() {
		return rowCount;
	}

	public void setRowCount(Integer rowCount) {
		this.rowCount = rowCount;
	}

	@Override
	public String toString() {
		return "PageInfoDTO{" + "page=" + page + ", pageSize=" + pageSize + ", pageCount=" + pageCount + ", rowCount="
				+ rowCount + '}';
	}

}
